package com.ft.oa.mapper.customer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ft.oa.domain.project.ExecProjectContract;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 项目合同表DAO
 * @author hefeng
 * @ClassName ExecProjectContractMapper
 * @date 2021/12/31 10:21
 */
public interface ExecProjectContractMapper extends BaseMapper<ExecProjectContract> {
    @Select("<script>"
            +"select * from exec_project_contract where id in "
            + "<foreach item='id' index='index' collection='ids'      open='(' separator=',' close=')'>"
            + "${id}"
            + "</foreach>"
            + "</script>")
    List<ExecProjectContract> selectContractsList(@Param("ids") String[] ids);
}
